<include file="__THEME__/header" />

<link href="../Public/basic.css" rel="stylesheet" type="text/css" />

<script  type="text/javascript" src="__PUBLIC__/js/jquery.126.js" ></script>
<script  type="text/javascript" src="__PUBLIC__/js/kxthumb/ui.core.packed.js" ></script>
<script type="text/javascript" src="__PUBLIC__/js/kxthumb/ui.draggable.packed.js" ></script>
<script type="text/javascript" src="__PUBLIC__/js/kxthumb/thumb.js"></script>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/js/kxthumb/main.css" />
<div class="content"><!-- 内容 begin  -->
    <div class="main"><!-- 画布 begin  -->

        <div class=page_title> <!-- page_title begin -->
            <h2><img src="../Public/images/contacts.gif" />修改资料</h2>
        <div class="c"></div>
</div><!-- page_title end -->
        <div class="tab-menu"><!-- 切换标签 begin  -->
            <ul>
                <li><a href="__URL__"><span>基本资料</span></a></li>
                <li><a href="__URL__/intro"><span>个人情况</span></a></li>
                <li><a href="__URL__/contact"><span>联系方式</span></a></li>
                <li><a href="__URL__/education"><span>教育情况</span></a></li>
                <li><a href="__URL__/career"><span>工作情况</span></a></li>
                <li><a href="__URL__/face" class="on"><span>上传头像</span></a></li>
            </ul>
        </div><!-- 切换标签 end  -->


        <table width="98%"  border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:20px;" >
            <tr>
                <td width="190" align="center" valign="top">
                    <div class="len_bbs_userpic" id="userfacediv">
                     <div class="headpic100"><img name="userface" id="userface" src="{$mid|getUserFace='middle'}?<?php echo time();?>"/></div>
                    </div>


                    <table name="tbface" id="tbface" width="98%" border="0" cellpadding="3" cellspacing="1" style=" display:none;">
                        <tr>
                            <td  bgcolor="#FFFFFF">
                                <div id="">
                                    <div class="title"><b> 裁切头像照片</b></div>
                                    <div class="uploadtooltip">您可以拖动照片以裁剪满意的头像</div>
                                    <div id="Canvas" class="uploaddiv">

                                        <div id="ImageDragContainer">
                                            <img src='__PUBLIC__/js/kxthumb/image/dd.JPG' id='ImageDrag' class='imagePhoto'>
                                        </div>
                                        <div id="IconContainer">
                                            <img src='__PUBLIC__/js/kxthumb/image/dd.JPG' id='ImageIcon' class='imagePhoto'>
                                        </div>
                                    </div>
                                    <div class="uploaddiv">
                                        <table>
                                            <tr>
                                                <td id="Min">
                                                <img alt="缩小" src="__PUBLIC__/js/kxthumb/image/_c.gif" onMouseOver="this.src='__PUBLIC__/js/kxthumb/image/_c.gif';" onMouseOut="this.src='__PUBLIC__/js/kxthumb/image/_h.gif';" id="moresmall" class="smallbig" />                                </td>
                                                <td>
                                                    <div id="bar">
                                                        <div class="child"></div>
                                                    </div>
                                                </td>
                                                <td id="Max">
                                                    <img alt="放大" src="__PUBLIC__/js/kxthumb/image/c.gif" onMouseOver="this.src='__PUBLIC__/js/kxthumb/image/c.gif';" onMouseOut="this.src='__PUBLIC__/js/kxthumb/image/h.gif';" id="morebig" class="smallbig" />
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                    <form ACTION="__URL__/saveThumb" method="post">
                                        <input type="hidden" name="person" value="person">
                                        <div class="uploaddiv">
                                            <input name="btn_Image" type="submit" class="btn_b" value="保存头像">
                                            <input name="bigImage" type="hidden" id="bigImage" value="__PUBLIC__/js/kxthumb/image/dd.JPG" />
                                        </div>
                                        <div style="display:none;">
                                            图片实际宽度： <input name="txt_width" type="text" ID="txt_width" value="1"> <br />
                                            图片实际高度：<input name="txt_height" type="text" ID="txt_height" value="1"> <br />
                                            距离顶部：<input name="txt_top" type="text" ID="txt_top" value="82"><br />
                                            距离左边：<input name="txt_left" type="text" ID="txt_left" value="73"><br />
                                            截取框的宽：<input name="txt_DropWidth" type="text" ID="txt_DropWidth" value="120"><br />
                                            截取框的高：<input name="txt_DropHeight" type="text" ID="txt_DropHeight" value="120"><br />
                                            放大倍数： <input name="txt_Zoom" type="text" ID="txt_Zoom" value="">
                                        </div>
                                        <iframe id="upload_target" name="upload_target" src="#" style="width:0;height:0;border:0px solid #fff;"></iframe>
                                    </form>
                            </div>    </td>
                            <td align="center" valign="top" bgcolor="#FFFFFF"></td>
                        </tr>
                </table></td>
                <td width="607" valign="top">

                <iframe  name="uploadff" id="uploadff" frameborder=0 style="width:90%;height:220px;padding:0px;border:0px;background:#fff" src="__URL__/uploadFaceImg"></iframe></td>
            </tr>
        </table>


    </div><!-- 画布 end  -->
  <div class="c"></div>
</div><!-- 内容 end -->
<include file="__THEME__/footer" />